//
//  AppDelegate.m
//  fp
//
//  Created by xingshuai on 2020/10/9.
//

#import "AppDelegate.h"

#import "OneViewController.h"
#import "DefViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    // 自动键盘功能启用,繁殖覆盖输入框
    [IQKeyboardManager sharedManager].enable = YES;
    // 键盘弹出时，点击背景，键盘收回
    [IQKeyboardManager sharedManager].shouldResignOnTouchOutside = YES;
    
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    
    DefViewController *oneVC = [[DefViewController alloc]init];
    UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:oneVC];
    self.window.rootViewController = nav;
    
//    OneViewController *oneVC = [[OneViewController alloc]init];
//    self.window.rootViewController = oneVC;
        
    return YES;
}


@end
